package com.yskj.mwk.config;

public class WechatUrlConfig {
    /**
     * 小程序jsapi下单地址
     */
    public static final String JSAPI_ORDER = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";


    /**
     * 小程序查询订单接口,根据微信订单号查询支付状态,这个订单号是微信支付成功后返回的订单号
     */
    public static final String JSAPI_QUERY_WX_ID = "https://api.mch.weixin.qq.com/v3/pay/transactions/id/%s?mchid=%s";


    /**
     * 小程序查询订单状态接口,这个订单号是自己生成的订单号
     */
    public static final String JSAPI_QUERY_OEDER_ID = "https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/%s?mchid=%s";


    /**
     * 小程序申请退款接口
     */
    public static final String JSAPI_REFUND_ORDER = "https://api.mch.weixin.qq.com/v3/refund/domestic/refunds";


    /**
     * 小程序退款状态查询接口
     */
    public static final String JSAPI_REFUND_QUERY = "https://api.mch.weixin.qq.com/v3/refund/domestic/refunds/%s";


    /**
     * 小程序关闭订单接口
     */
    public static final String JSAPI_CLOSE_ORDER = "https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/%s/close";



    /**
     * 获取证书
     */
    public static final String CERTIFICATESURL = "https://api.mch.weixin.qq.com/v3/certificates";
}
